package com.estun.backroundManagementService.modules.productProcess.service.Impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.estun.backroundManagementService.modules.productProcess.model.ProductProcess;
import com.estun.backroundManagementService.modules.productProcess.service.ProductProcessService;
import org.springframework.stereotype.Service;
import com.estun.backroundManagementService.modules.productProcess.mapper.ProductProcessMapper;

/**
 * <p>
 * 生产工序表 服务实现类
 * </p>
 *
 * @author machine
 * @since 2023-02-06
 */
@Service
public class ProductProcessServiceImpl extends ServiceImpl<ProductProcessMapper, ProductProcess> implements ProductProcessService {

    @Override
    public ProductProcess getByStationId(String stationId) {
        return getOne(new QueryWrapper<ProductProcess>().eq("station_id", stationId));
    }
}
